'use strict';
exports.main = async (event, context) => {
	//event为客户端上传的参数
	console.log('event : ', event.id)
	const db = uniCloud.database().collection('tableImages')
	//返回数据给客户端
	
	const res = db.doc(event.id).get()
	return res
};
